package com.ruoyi.system.service;

import com.ruoyi.system.domain.Projects;

import java.util.List;

/**
 * projectsService接口
 * 
 * @author ruoyi
 * @date 2025-08-05
 */
public interface IProjectsService 
{
    public List<Projects> selectValid(String ppprojectname, String ppprojecttype, String ppfabushijian, String pppublishingunit, String pppaixu, int ppStartIndex, int ppPageSize);

    public int countValid(String ppprojectname,String ppprojecttype, String ppfabushijian, String pppublishingunit);

    public List<Projects> selectAll(String ppprojectname,String ppprojecttype, int ppStartIndex, int ppPageSize);

    public int countAll(String ppprojectname,String ppprojecttype);

    public int getMaxNumber();
    /**
     * 查询projects
     * 
     * @param id projects主键
     * @return projects
     */
    public Projects selectProjectsById(String id);

    /**
     * 查询projects列表
     * 
     * @param projects projects
     * @return projects集合
     */
    public List<Projects> selectProjectsList(Projects projects);

    /**
     * 新增projects
     * 
     * @param projects projects
     * @return 结果
     */
    public int insertProjects(Projects projects);

    /**
     * 修改projects
     * 
     * @param projects projects
     * @return 结果
     */
    public int updateProjects(Projects projects);

    /**
     * 批量删除projects
     * 
     * @param ids 需要删除的projects主键集合
     * @return 结果
     */
    public int deleteProjectsByIds(String[] ids);

    /**
     * 删除projects信息
     * 
     * @param id projects主键
     * @return 结果
     */
    public int deleteProjectsById(String id);
}
